package com.castle.fortress.admin.member.gropRelation.mapper;

import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.castle.fortress.admin.member.gropRelation.entity.MemberGroupRelationEntity;
import java.util.Map;
import java.util.List;
/**
 * 会员分组关联关系表Mapper 接口
 *
 * @author 
 * @since 2025-04-15
 */
public interface MemberGroupRelationMapper extends BaseMapper<MemberGroupRelationEntity> {

    /**
    * 扩展信息列表
    * @param pageMap
    * @param memberGroupRelationEntity
    * @return
    */
    List<MemberGroupRelationEntity> extendsList(@Param("map")Map<String, Long> pageMap, @Param("memberGroupRelationEntity") MemberGroupRelationEntity memberGroupRelationEntity);

    /**
    * 扩展信息记录总数
    * @param memberGroupRelationEntity
    * @return
    */
    Long extendsCount(@Param("memberGroupRelationEntity") MemberGroupRelationEntity memberGroupRelationEntity);

    /**
    * 会员分组关联关系表扩展详情
    * @param id 会员分组关联关系表id
    * @return
    */
    MemberGroupRelationEntity getByIdExtends(@Param("id")Long id);



}

